package com.example.mapper;


import com.example.pojo.Clazz;
import com.example.pojo.ClazzQueryParam;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ClazzMapper {


    //根据ID删除部门信息
    @Delete("delete from clazz where id = #{id}")
    void delete();

    //添加班级信息xml
    void insert(Clazz clazz);

    //根据id查询班级
    Clazz getInfoByID(Integer id);

    //修改班级信息
    void update(Clazz clazz);

    //条件查询班级信息xml
    List<Clazz> list(ClazzQueryParam clazzQueryParam);
}
